﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GetImage.aspx.cs" Inherits="KeleyiTestWeb.KImage.GetImage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>asp.net保存网上图片到服务器-KWS</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    要获取的图片的网址：<asp:TextBox runat="server" ID="tbPicUrl" Text="http://keleyi.com/image/a/ipkvp9eq.jpg" Width="300" />
    <asp:Button Text="保存" runat="server" ID="btnSave" onclick="btnSave_Click"  /><br /> 获取成功后在保存到服务器的同时将会显示在下面
    <br /><asp:Literal runat="server" ID="ltlTips" />
    <br /><asp:Image runat="server" ID="imgDownload" />
    </div>
    </form>
    <div>本例子请参考：<a href="http://keleyi.com/a/bjac/4yiwpvt0.htm" target="_blank">http://keleyi.com/a/bjac/qwcsgskp.htm</a> </div>
</body>
</html>